package com.x.xiaoshuo.manager;

import com.hwangjr.rxbus.RxBus;
import com.x.xiaoshuo.entity.RefreshCollectionIconEvent;
import com.x.xiaoshuo.entity.RefreshCollectionListEvent;
import com.x.xiaoshuo.entity.SubEvent;


public class EventManager {

    public static void refreshCollectionList() {
        RxBus.get().post(new RefreshCollectionListEvent());
    }

    public static void refreshCollectionIcon() {
        RxBus.get().post(new RefreshCollectionIconEvent());
    }

    public static void refreshSubCategory(String minor, String type) {
        RxBus.get().post(new SubEvent(minor, type));
    }

}
